//
//  PopoverView.h
//  coocsless
//
//  Created by fabian on 07.03.11.
//  Copyright 2011 roboboogie.us. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol PopoverViewDelegate

-(void) itemSelected:(int)itemId; 

@end



@interface PopoverView : UITableViewController {
	int viewWidth;
	NSString *content;
	NSArray *contentArray;
	id <PopoverViewDelegate> delegate;
}
@property (nonatomic) int viewWidth;
@property (nonatomic, retain) NSString *content;
@property (nonatomic, retain) NSArray *contentArray;
@property (nonatomic, assign) id <PopoverViewDelegate> delegate; 
- (id)initWithStyle:(UITableViewStyle)style andContent:(NSString *) pContent andWidth:(int) pWidth;

@end
